//
//  UIImage+System.swift
//  06-UINavigationBar、UIToolbar和UITabBar
//
//  Created by VEER on 2022/3/8.
//

import UIKit

@objc public extension UIImage{

    var assetName: String? {
        guard let imageAsset = imageAsset else { return nil }
        return imageAsset.value(forKey:"assetName") as? String
    }
}

@available(iOS 13.0, *)
@objc public extension UIImage{
    
    static let house = UIImage(systemName: "house")
    
    static let house_fill = UIImage(systemName: "house.fill")
    
    static let arrow_left = UIImage(systemName: "arrow.left")
    
    static let back = UIImage(systemName: "chevron.backward")
    
    static let person = UIImage(systemName: "person")
    
    static let person_fill = UIImage(systemName: "person.fill")
    
    /// square.and.arrow.up
    static let square_and_arrow_up = UIImage(systemName: "square.and.arrow.up")

    /// square.and.arrow.up.fill
    static let square_and_arrow_up_fill = UIImage(systemName: "square.and.arrow.up.fill")

    /// square.and.arrow.up.trianglebadge.exclamationmark
    static let square_and_arrow_up_trianglebadge_exclamationmark = UIImage(systemName: "square.and.arrow.up.trianglebadge.exclamationmark")

    /// square.and.arrow.down
    static let square_and_arrow_down = UIImage(systemName: "square.and.arrow.down")

    /// square.and.arrow.down.fill
    static let square_and_arrow_down_fill = UIImage(systemName: "square.and.arrow.down.fill")

    /// square.and.arrow.up.on.square
    static let square_and_arrow_up_on_square = UIImage(systemName: "square.and.arrow.up.on.square")

    /// square.and.arrow.up.on.square.fill
    static let square_and_arrow_up_on_square_fill = UIImage(systemName: "square.and.arrow.up.on.square.fill")

    /// square.and.arrow.down.on.square
    static let square_and_arrow_down_on_square = UIImage(systemName: "square.and.arrow.down.on.square")

    /// square.and.arrow.down.on.square.fill
    static let square_and_arrow_down_on_square_fill = UIImage(systemName: "square.and.arrow.down.on.square.fill")
    /// checkmark
    static let checkmark = UIImage(systemName: "checkmark")

    /// checkmark.circle
    static let checkmark_circle = UIImage(systemName: "checkmark.circle")

    /// checkmark.circle.fill
    static let checkmark_circle_fill = UIImage(systemName: "checkmark.circle.fill")

    /// checkmark.circle.trianglebadge.exclamationmark
    static let checkmark_circle_trianglebadge_exclamationmark = UIImage(systemName: "checkmark.circle.trianglebadge.exclamationmark")

    /// checkmark.square
    static let checkmark_square = UIImage(systemName: "checkmark.square")

    /// checkmark.square.fill
    static let checkmark_square_fill = UIImage(systemName: "checkmark.square.fill")

    /// checkmark.rectangle
    static let checkmark_rectangle = UIImage(systemName: "checkmark.rectangle")

    /// checkmark.rectangle.fill
    static let checkmark_rectangle_fill = UIImage(systemName: "checkmark.rectangle.fill")

    /// checkmark.rectangle.portrait
    static let checkmark_rectangle_portrait = UIImage(systemName: "checkmark.rectangle.portrait")

    /// checkmark.rectangle.portrait.fill
    static let checkmark_rectangle_portrait_fill = UIImage(systemName: "checkmark.rectangle.portrait.fill")

    /// checkmark.diamond
    static let checkmark_diamond = UIImage(systemName: "checkmark.diamond")

    /// checkmark.diamond.fill
    static let checkmark_diamond_fill = UIImage(systemName: "checkmark.diamond.fill")

    /// checkmark.shield
    static let checkmark_shield = UIImage(systemName: "checkmark.shield")

    /// checkmark.shield.fill
    static let checkmark_shield_fill = UIImage(systemName: "checkmark.shield.fill")
}
